package cn.com.nes.mybatis.agent.crm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
    * 商机关联客户联系人
    */
@TableName(value ="opportunity_staff")
@Data
public class OpportunityStaff {

    @TableId(value = "uuid")
    private String uuid;

    /**
    * 客户id
    */
    @TableField(value = "customerId")
    private String customerId;

    /**
    * 商机id
    */
    @TableField(value = "opportunityId")
    private String opportunityId;

    /**
    * 客户联系人id
    */
    @TableField(value = "customer_staff_id")
    private Long customerStaffId;

    /**
    * 部门
    */
    @TableField(value = "department")
    private String department;

    /**
    * 职务
    */
    @TableField(value = "post")
    private String post;

    /**
    * 姓名
    */
    @TableField(value = "name")
    private String name;

    /**
    * 性别
    */
    @TableField(value = "sex")
    private String sex;

    /**
    * 电话
    */
    @TableField(value = "phone")
    private String phone;

    /**
    * 是否主要联系人
    */
    @TableField(value = "ismain")
    private String isMain;

    /**
    * 微信
    */
    @TableField(value = "wechat")
    private String wechat;

    @TableField(value = "createUid")
    private String createUid;

    @TableField(value = "createTime")
    private Date createTime;

    @TableField(value = "isdelete")
    private String deleted;
    @TableField(value = "is_household")
    private Integer isHousehold;

}